package cn.wolfcode.trip.base.domain;

import lombok.Getter;
import lombok.Setter;

/** tiger
 * 购物车
 */
@Setter@Getter
public class ShoppingCart extends BaseDomain{

    public static final Integer STATE_CART = 0;//购物车
    public static final Integer STATE_BUY = 1;//已购买
    //商品
    private Product product;
    //数量
    private Integer count;
    //客户
    private User user;
    //商品规格
    private ProductSpecs specs;
    //状态
    private Integer state=STATE_CART;//默认:加入购物车
}